// import React from "react";
import React from "./react";

function App (){
  const [number,setNumber] = React.useState(0)
  const [age,setAge] = React.useState(10)
  console.log(number,age);
  return <div>
    <p>{number}</p>
    <p>{age}</p>
    <button onClick={()=>{
      setNumber(number+1)
      setNumber(number+1)
      setNumber(number+1)
    }}>+</button>
  </div>
}
export default App